﻿@model IEnumerable<WmWebSystem.Models.Project>

@{
    ViewBag.Title = "ProjectList";
}

<hr />

<h1>项目清单</h1>

<table class="normal tablesorter">
	<thead>
		<tr>
			<th>Select</th>
			<th>编号</th>
			<th>名称</th>
			<th>时间</th>
			<th>类别</th>
			<th>状态</th>
			<th>集资金额</th>
            <th>已有金额</th>
            <th></th>
		</tr>
	</thead>
	<tbody>
        @foreach (var item in Model)
        {
		<tr class="odd">
			<td><input type="checkbox" class="iphone" /></td>
			<td>@Html.DisplayFor(modelItem => item.ProjectNo)</td>
			<td>@Html.DisplayFor(modelItem => item.ProjectName)</td>
			<td>@Html.DisplayFor(modelItem => item.AddTime)</td>
			<td>@Html.DisplayFor(modelItem => item.Type)</td>
			<td>@Html.DisplayFor(modelItem => item.Status)</td>
            <td>@Html.DisplayFor(modelItem => item.TargetValue)</td>
			<td>@Html.DisplayFor(modelItem => item.CurrentValue)</td>
			<td>
				<a href="#" title="Edit" class="tooltip table_icon"><img src="@Url.Content("~/Content/After_UI/assets/icons/actions_small/Pencil.png")" alt="编辑" /></a> 
				<a href="@Url.Action("ProjectDetails", "Project", new {id=item.ProjectId })" title="Details" class="tooltip table_icon"><img src="@Url.Content("~/Content/After_UI/assets/icons/actions_small/Preferences.png")" alt="详细" /></a>
				<a href="#" title="Delete" class="tooltip table_icon"><img src="@Url.Content("~/Content/After_UI/assets/icons/actions_small/Trash.png")" alt="删除" /></a>
			</td>
		</tr>
        }
	</tbody>
</table>
         
<a href="#" class="button_link">View more</a>
		 
<hr />